<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    body {
      width: 400px;
      height: 100px;
      line-height: 100px;
      text-align: center;
    }
  </style>
  <body>
    <h5>这是插件页面</h5>
    <div>
      <title>功能：</title>
      <span>总金额</span>
      <span id="total"></span>
      <input type="text" id="amount" />
      <button id="submit">添加</button>
    </div>
    <div>
      <a href="#" id="openback">打开后台页测试</a>
      <a href="#" id="getbacktitle">获取后台页标题</a>
      <a href="#" id="setbacktitle">设置后台页标题</a>
      <a href="#" id="callbackjs">调用后台页JS</a>
    </div>
    <script type="text/javascript" src="./js/index.js"></script>
  </body>
</html>
